void main() {
	
	vec3 normal = normalize(gl_NormalMatrix * gl_Normal);
	
	vec4 color = vec4(normal, 1.0);
    color.xyz += 1.0;
    color.xyz *= 0.5;
	
	gl_FrontColor =  color;
	
	gl_Position = gl_ModelViewProjectionMatrix * vec4(gl_Vertex.xyz, 1.0);
	//gl_Position = ftransform();
}
